package cn.com.cifi.mars.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.com.cifi.mars.bean.dto.RemovalReportDataDto;
import cn.com.cifi.mars.common.enums.LocalCommandEnum;
import cn.com.cifi.mars.entity.DmDmRemovalReport;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author plx
 * @since 2020-03-30
 */
public interface DmDmRemovalReportService extends IService<DmDmRemovalReport> {


    void sendCommand(LocalCommandEnum command);

    LocalCommandEnum takeCommand() throws InterruptedException;

    void sync(String endDate);

    String getLatestEndDate(String endDate);

	List<String> getProjectIds(List<String> divisionList, List<String> projectIdList);

	List<RemovalReportDataDto> getRemovalReportDataList(String latestEndDate, List<String> projectIds,List<String> projectIdList);

	void syncRemovalDataJob(String yearMonth);

}
